require "GenericBall"

class 'BallFactory'

function BallFactory:__init()
end

function BallFactory:CreateBall(balltype, ballname)
	if (balltype == "generic") then
		return GenericBall(ballname)
	else
		print ("not yet implemented : " + balltype)
	end
end